home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / util / moni / Scout-src.lha / source / objects / scout_mount_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-02-13  |  2.5 KB  |  125 lines

  1. /**
  2.  * Scout - The Amiga System Monitor
  3.  *
  4.  *------------------------------------------------------------------
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  *
  20.  * You must not use this source code to gain profit of any kind!
  21.  *
  22.  *------------------------------------------------------------------
  23.  *
  24.  * @author Andreas Gelhausen
  25.  * @author Richard Körber <rkoerber@gmx.de>
  26.  */
  27.  
  28.  
  29. /* Prototypes for functions defined in
  30. objects/scout_mount.c
  31.  */
  32.  
  33. struct   MountEntry {
  34.    struct   MountEntry  *mt_next;
  35.    struct   DeviceNode  *mt_adr;
  36.    char  mt_address[ADDRESSLENGTH];
  37.    char  mt_name[FILENAMELENGTH+2];
  38.    char  mt_unit[10];
  39.    char  mt_heads[10];
  40.    char  mt_cyl[10];
  41.    char  mt_diskstate[12];
  42.    char  mt_filesystem[10];
  43.    char  mt_handler[FILENAMELENGTH+2];
  44. };
  45.  
  46. extern APTR BT_MountUpdate;
  47.  
  48. extern APTR BT_MountPrint;
  49.  
  50. extern APTR BT_MountMore;
  51.  
  52. extern APTR BT_MountExit;
  53.  
  54. extern APTR mounttext;
  55.  
  56. extern APTR mountlist;
  57.  
  58. extern APTR MountAdd1;
  59.  
  60. extern APTR MountAdd2;
  61.  
  62. extern APTR MountText0;
  63.  
  64. extern APTR MountText1;
  65.  
  66. extern APTR MountText2;
  67.  
  68. extern APTR MountText3;
  69.  
  70. extern APTR MountText4;
  71.  
  72. extern APTR MountText5;
  73.  
  74. extern APTR MountGroup1;
  75.  
  76. extern APTR MountGroup2;
  77.  
  78. extern APTR MountGroup3;
  79.  
  80. extern APTR MountGroup4;
  81.  
  82. extern APTR MountGroup5;
  83.  
  84. extern APTR MountGroup6;
  85.  
  86. extern APTR MountGroup7;
  87.  
  88. extern APTR MountGroup8;
  89.  
  90. extern APTR MountGroup9;
  91.  
  92. extern APTR MountGroup10;
  93.  
  94. extern APTR mountcount;
  95.  
  96. extern int mountcnt;
  97.  
  98. extern APTR oldwindowptr;
  99.  
  100. void NoReqOn(void);
  101.  
  102. void NoReqOff(void);
  103.  
  104. LONG __asm mountlist_dspfunc(register __a2 char ** , register __a1 struct MountEntry * , register __a0 struct Hook * );
  105.  
  106. extern struct Hook mountlist_dsphook, mountlist_cmphook;
  107.  
  108. char * GetDiskState(long * );
  109.  
  110. char * GetDiskType(long * );
  111.  
  112. void FreeMounts(void);
  113.  
  114. int GetMounts(struct MountEntry ** );
  115.  
  116. void PrintMounts(char * );
  117.  
  118. void ShowMounts(void);
  119.  
  120. void SendMountList(void);
  121.  
  122. void GetMountMore(struct DeviceNode * );
  123.  
  124. void MountWindow (BOOL state);
  125.